##################################################################################################################################
#
# Copyright (C) 2008-2012 Mind System Connection. Lda. Part of Daidze Software, created by Siqsuruq. All other rights reserved.
#
# Mind System Connection Webpage: www.msysc.org
# Daidze Software Page: www.daidze.com www.daidze.org
# E-mail: admin@msysc.org, siqsuruq@gmail.com
#
##################################################################################################################################

proc log_init {} {
	#     Audit level 1 - error information
	#     Audit level 2 - warning information
	#     Audit level 3 - notice information
	#     Audit level 4 - debug information
	#     Audit level 5 - application logic
	#     Audit level 6 - major backend operations
	#     Audit level 7 - minor backend operations
	#     Audit level 8 - verbose operations
	#     Audit level 9 - stack trace 

	set dtime [now_date_time]
# 	audit::configure -level 9 -datafile [file join $::log_dir daidze_log_${dtime}.aud]
	audit::configure -level 9 -logfile [file join $::log_dir daidze_log_${dtime}.txt]
}

proc run_log_viewer {} {

}